package common.post.dao;

import java.util.List;

import common.base.GenericHibernateDao;
import common.post.bean.Contacts;

@SuppressWarnings("unchecked")
public class ContactsDaoImpl extends GenericHibernateDao<Contacts,Integer> implements ContactsDao {

	@Override
	public List<Contacts> getByContent(String content) {
		return this.find("from Contacts c where c.content='"+content+"'");
	}

}
